package com.farah.lease.web.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.farah.lease.model.entity.RoomInfo;
import com.farah.lease.web.app.vo.room.RoomDetailVo;
import com.farah.lease.web.app.vo.room.RoomItemVo;
import com.farah.lease.web.app.vo.room.RoomQueryVo;

/**
 * @Author 不爱跑步的法拉韶
 * @Date 2024-06-25__07:13
 * @Description 房间_信息
 **/
public interface RoomInfoService extends IService<RoomInfo> {
    IPage<RoomItemVo> pageRoomItemByQuery(Page<RoomItemVo> page, RoomQueryVo queryVo);

    IPage<RoomItemVo> pageRoomItemByApartmentId(Page<RoomItemVo> page, Long id);

    RoomDetailVo getDetailById(Long id);

}
